#define _CRT_SECURE_NO_WARNINGS

#include "Practice.h"

void test1()
{
	//stack<int> s1;
	//stack<double> s2;

	//s1.push(1);
	//s1.push(2);
	//s1.push(3);

	//s2.push(4.5);
	//s2.push(5.5);
	//s2.push(6.5);
}

void test2()
{
	stack<int> s1(10);

	s1.push(1);
	s1.push(2);
	s1.push(3);
	s1.push(4);
	s1.push(5);
	s1.push(6);
	s1.print();

	s1.pop();
	s1.print();

	s1.pop();
	s1.print(); 

	s1.pop();
	s1.print();

	s1.pop();
	s1.print();

	s1.pop();
	s1.print();

	s1.print();
	s1.pop();

	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.push(1);
	s1.print();
}

int main()
{
	//test1();
	test2();

	return 0;
}